package com.lzs.Service;

import java.util.List;
import java.util.Map;

import com.lzs.PO.Certificate;
import com.lzs.PO.CertificateExcel;
import com.lzs.PO.Member;
import com.lzs.PO.Page;

public interface CertificateService {

	Page<Certificate> findCertificatePagelist(String rural_id, String keyword, Integer pageSize, Integer pageNum);

	public boolean countCertificateByDisease(String disease_name, String rural_id);

	public Member findCertificateWithMemberByRuralId(String rural_id);

	public void addCertificate(Map<String, Object> map);

	public Certificate findCertificateWithMemberByCertificateIdAndRuralId(String certificate_id, String rural_id);

	public void updateCertificate(Map<String, Object> map);

	public void deleteCertificate(String certificate_id);

	public Page<Certificate> findCertificatePagelist4All(String keyword, Integer pageSize, Integer pageNum);

	public List<CertificateExcel> findCertificate4InputExcel(String keyword);

	public boolean countCertificateByRuralId(String rural_id);

	public Certificate findCertificateByDiseaseAndRuralId(String disease_name, String rural_id);

}
